#ifndef __siterang_h__
#define __siterang_h__

/* Forward Declarations */

struct ENUMDESC;

/* header files for imported files */
#include "types.h"

/* header files for imported files */
#include "csite.h"

#ifndef __IHTMLControlRange_FWD_DEFINED__
#define __IHTMLControlRange_FWD_DEFINED__
typedef interface IHTMLControlRange IHTMLControlRange;
#endif     /* __IHTMLControlRange_FWD_DEFINED__ */

#ifndef __IHTMLControlRange2_FWD_DEFINED__
#define __IHTMLControlRange2_FWD_DEFINED__
typedef interface IHTMLControlRange2 IHTMLControlRange2;
#endif     /* __IHTMLControlRange2_FWD_DEFINED__ */

#ifndef __IHTMLControlRange_INTERFACE_DEFINED__

#define __IHTMLControlRange_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLControlRange;


MIDL_INTERFACE("3050f29c-98b5-11cf-bb82-00aa00bdce0b")
IHTMLControlRange : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE select(
            ) = 0;

    virtual HRESULT STDMETHODCALLTYPE add(
            /* [in] */ IHTMLControlElement* item) = 0;

    virtual HRESULT STDMETHODCALLTYPE remove(
            /* [in] */ long index) = 0;

    virtual HRESULT STDMETHODCALLTYPE item(
            /* [in] */ long index,/* [out] */ IHTMLElement** pdisp) = 0;

    virtual HRESULT STDMETHODCALLTYPE scrollIntoView(
            /* [in] */ VARIANT varargStart) = 0;

    virtual HRESULT STDMETHODCALLTYPE queryCommandSupported(
            /* [in] */ BSTR cmdID,/* [out] */ VARIANT_BOOL* pfRet) = 0;

    virtual HRESULT STDMETHODCALLTYPE queryCommandEnabled(
            /* [in] */ BSTR cmdID,/* [out] */ VARIANT_BOOL* pfRet) = 0;

    virtual HRESULT STDMETHODCALLTYPE queryCommandState(
            /* [in] */ BSTR cmdID,/* [out] */ VARIANT_BOOL* pfRet) = 0;

    virtual HRESULT STDMETHODCALLTYPE queryCommandIndeterm(
            /* [in] */ BSTR cmdID,/* [out] */ VARIANT_BOOL* pfRet) = 0;

    virtual HRESULT STDMETHODCALLTYPE queryCommandText(
            /* [in] */ BSTR cmdID,/* [out] */ BSTR* pcmdText) = 0;

    virtual HRESULT STDMETHODCALLTYPE queryCommandValue(
            /* [in] */ BSTR cmdID,/* [out] */ VARIANT* pcmdValue) = 0;

    virtual HRESULT STDMETHODCALLTYPE execCommand(
            /* [in] */ BSTR cmdID,/* [in] */ VARIANT_BOOL showUI,/* [in] */ VARIANT value,/* [out] */ VARIANT_BOOL* pfRet) = 0;

    virtual HRESULT STDMETHODCALLTYPE execCommandShowHelp(
            /* [in] */ BSTR cmdID,/* [out] */ VARIANT_BOOL* pfRet) = 0;

    virtual HRESULT STDMETHODCALLTYPE commonParentElement(
            /* [out] */ IHTMLElement** parent) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_length(
         /* [out] */ long * p) = 0;

};

#endif     /* __IHTMLControlRange_INTERFACE_DEFINED__ */


#ifndef __IHTMLControlRange2_INTERFACE_DEFINED__

#define __IHTMLControlRange2_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLControlRange2;


MIDL_INTERFACE("3050f65e-98b5-11cf-bb82-00aa00bdce0b")
IHTMLControlRange2 : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE addElement(
            /* [in] */ IHTMLElement* item) = 0;

};

#endif     /* __IHTMLControlRange2_INTERFACE_DEFINED__ */


#ifndef _CAutoTxtSiteRange_PROPDESCS_
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandStatus;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeselect;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeadd;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeremove;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeitem;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCAutoTxtSiteRangelength;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangescrollIntoView;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandSupported;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandEnabled;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandState;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandIndeterm;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandText;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangequeryCommandValue;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeexecCommand;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeexecCommandShowHelp;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangecommonParentElement;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCAutoTxtSiteRangeaddElement;

#endif


#endif /*__siterang_h__*/

